<?php

use Illuminate\Database\Seeder;
use App\Models\StoreLevel;

class StoreLevelsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        for($i =1;$i<=20;$i++){
            StoreLevel::create([
                'store_level_name' => '栏目'.$i,
                'type_id' => rand(0,1),
                'hotel_id' => 1
            ]);
        }
    }
}
